package com.example.demo.util;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class SystemInitListener implements ServletContextListener{

	@Override
	public void contextInitialized(ServletContextEvent sce) {
		
		//初始化配置文件
		BaseConfig.getInstence();
	}

	@Override
	public void contextDestroyed(ServletContextEvent sce) {

	}

}
